<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>register</title>
    <link rel="stylesheet" href="base.css">
    <script src="jQuery.js"></script>
    <script src="base.js"></script>
</head>
<body>
    <div id="head">
        <img src="image/tedu.jpg" alt="">
    </div>
    <div id="center">
        <form action="/register" method="post" onsubmit="return checkFormInput()">
            <div>
                <span>Account:</span>
                <input id="user" type="text" name="user">
            </div>
            <div>
                <span>Password:</span>
                <input type="password" name="pwd1" id="pwd1">
                <img id="pwd1-eye" src="image/eye_open.jpg" alt="" onclick="eye('pwd1')";>
            </div>
            <div>
                <span>Confirm your password:</span>
                <input type="password" name="pwd2" id="pwd2">
                <img id="pwd2-eye" src="image/eye_open.jpg" alt="" onclick="eye('pwd2')";>
            </div>
            <div id="btn">
                <input type="submit" value="register">
                <a href="login.html">
                    <input type="button" value="board">
                </a>
            </div>
        </form>
    </div>
</body>
</html>